package lesson14;

import java.util.Scanner;

public class AuctionDemo {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);

		int carsNumber;
		int participantsNumber;
		
		do{
			System.out.println("Enter number of cars: ");
			carsNumber = sc.nextInt();
		}while (carsNumber < 1);
		
		do{
			System.out.println("Enter number of participants: ");
			participantsNumber = sc.nextInt();
		}while (participantsNumber < 1);
		
		//auction.carsForSale = new Car[carsNUmber];

	}

}
